/*
 *E2_18.cpp
 *Create by Administrator
 * 2017年1月19日
 * 下午4:08:25
 */
#include <iostream>

int main() {
	int pi = 66, *pi2 = &pi;
    std::cout<<" 修改前pi2的值 " << pi2<<"  pi的值  "<<pi<<std::endl;
	int k = 88;
	pi2= &k;
    std::cout<<"修改后pi2的值" << pi2<<"  pi的值   "<<pi<<std::endl;



    *pi2 = 666;

    std::cout<<"修改前pi2的值" << pi2<<" "<< k<<std::endl;



//	std::cout << " " << std::endl;
	return 0;
}
